package com.xingxuecn.babatis02.common.dto;

import org.apache.commons.lang3.builder.MultilineRecursiveToStringStyle;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @author Kris at 2018/9/12 14:35
 */
public class RoleMenu {
    private Integer role_id;
    private Integer menu_id;

    public RoleMenu() {
    }

    public RoleMenu(Integer role_id, Integer menu_id) {
        this.role_id = role_id;
        this.menu_id = menu_id;
    }

    public Integer getRole_id() {
        return role_id;
    }

    public void setRole_id(Integer role_id) {
        this.role_id = role_id;
    }

    public Integer getMenu_id() {
        return menu_id;
    }

    public void setMenu_id(Integer menu_id) {
        this.menu_id = menu_id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, new MultilineRecursiveToStringStyle())
                .append("role_id", role_id)
                .append("menu_id", menu_id)
                .toString();
    }
}
